//
//  MagicViewController.m
//  DeliciousFood1
//
//  Created by brother on 15/10/21.
//  Copyright © 2015年 com.hxm. All rights reserved.
//

#import "MagicViewController.h"
#import "AppDelegate.h"
#import "User.h"

@interface MagicViewController ()

@end

@implementation MagicViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    AppDelegate *application =  [[UIApplication sharedApplication] delegate] ;
    NSLog(@"%@",application.user.username);
}

@end
